<!--{eval $_TPL['nosidebar']=1;}-->
<!--{template header}-->

<style>
.reg_login {
	background: url("yeeibai/img/tour1.png") no-repeat scroll 0 0
		transparent;
	color: #666666;
	height: 210px;
}

.slogan {
	height: 20px;
	padding-top: 9px;
	text-align: center;
}

.user_statistics {
	height: 48px;
	line-height: 20px;
	padding-left: 15px;
}

.user_statistics span {
	float: left;
	padding: 0 5px;
}

.user_statistics em {
	background: url("yeeibai/img/tour1.png") no-repeat scroll -406px -35px
		transparent;
	float: left;
	font-size: 14px;
	height: 20px;
	margin-right: 2px;
	text-align: center;
	width: 20px;
}

.reg_login .have_login {
	padding-top: 6px;
	text-align: center;
}

a:link,a:visited {
	color: #3B5998;
}

a {
	text-decoration: none;
}

em {
	color: #FF3D7D;
	font-weight: bold;
}

.container {
	WIDTH: 726px;
	HEIGHT: 205px
}

.container A IMG {
	WIDTH: 726px;
	HEIGHT: 205px
}

.container IMG {
	BORDER-BOTTOM-STYLE: none;
	BORDER-RIGHT-STYLE: none;
	BORDER-TOP-STYLE: none;
	BORDER-LEFT-STYLE: none
}

.td_f A IMG {
	PADDING-BOTTOM: 0px;
	MARGIN: 0px;
	PADDING-LEFT: 0px;
	PADDING-RIGHT: 0px;
	PADDING-TOP: 0px
}

.num {
	POSITION: absolute;
	WIDTH: 90px;
	FLOAT: right;
	TOP: 180px;
	LEFT: 620px
}

.num LI {
	TEXT-ALIGN: center;
	LINE-HEIGHT: 15px;
	LIST-STYLE-TYPE: none;
	MARGIN: 1px;
	WIDTH: 15px;
	FONT-FAMILY: Arial;
	BACKGROUND: url(yeeibai/focus/flashbutton.gif) no-repeat -15px 0px;
	FLOAT: left;
	HEIGHT: 15px;
	COLOR: #86a2b8;
	FONT-SIZE: 12px;
	CURSOR: pointer
}

.num LI.on {
	LINE-HEIGHT: 15px;
	WIDTH: 15px;
	BACKGROUND: url(yeeibai/focus/flashbutton.gif) no-repeat;
	HEIGHT: 15px;
	COLOR: #ffffff
}
</style>

<div id="network">


	<script>
		function setintro(type) {
			var intro = '';
			var bPosition = '';
			if (type == 'doing') {
				intro = '用一句话记录自己生活中的点点滴滴';
				bPosition = '0';
			} else if (type == 'mtag') {
				intro = '创建自己的小圈子，与大家交流感兴趣的话题';
				bPosition = '175px';
			} else if (type == 'pic') {
				intro = '上传照片，分享生活中的精彩瞬间';
				bPosition = '55px';
			} else if (type == 'app') {
				intro = '与好友一起玩转游戏和游戏，增加好友感情';
				bPosition = '118px';
			} else {
				intro = '马上注册，与好友分享日志、照片，一起玩转游戏';
				bPosition = '0';
			}
			$('guest_intro').innerHTML = intro + '......';
			$('guest_intro').style.backgroundPosition = bPosition + ' 100%'
		}
		function scrollPic(e, LN, Width, Price, Speed) {
			id = e.id;
			if (LN == 'Last') {
				scrollNum = Width;
			} else if (LN == 'Next') {
				scrollNum = 0 - Width;
			}
			scrollStart = parseInt(e.style.marginLeft, 10);
			scrollEnd = parseInt(e.style.marginLeft, 10) + scrollNum;
			//alert('scrollStart'+scrollStart);
			//alert('scrollEnd'+scrollEnd);
			MaxIndex = (e.getElementsByTagName('li').length / Price).toFixed(0);
			//alert('lilength'+e.getElementsByTagName('li').length);
			//alert('MaxIndex'+MaxIndex);
			sPicMaxScroll = 0 - Width * MaxIndex;
			//alert('sPicMaxScroll'+sPicMaxScroll);
			if (scrollStart == 0 && scrollEnd == Width) {
				scrollEnd = -1806;
				e.style.marginLeft = parseInt(e.style.marginLeft, 10) - Speed
						+ 'px';

			} else if (scrollStart == sPicMaxScroll + Width
					&& scrollEnd == sPicMaxScroll) {
				scrollEnd = 0;
				e.style.marginLeft = parseInt(e.style.marginLeft, 10) + Speed
						+ 'px';
			}
			//alert('marginLeft'+e.style.marginLeft);

			scrollShowPic = setInterval(scrollShow, 1);

			function scrollShow() {
				if (scrollStart > scrollEnd) {
					if (parseInt(e.style.marginLeft, 10) > scrollEnd) {
						$(id + '_last').onclick = function() {
							return false;
						};
						$(id + '_next').onclick = function() {
							return false;
						};
						e.style.marginLeft = parseInt(e.style.marginLeft, 10)
								- Speed + 'px';
					} else {
						clearInterval(scrollShowPic);
						$(id + '_last').onclick = function() {
							scrollPic(e, 'Last', Width, Price, Speed);
							return false;
						};
						$(id + '_next').onclick = function() {
							scrollPic(e, 'Next', Width, Price, Speed);
							return false;
						};
					}
				} else {
					if (parseInt(e.style.marginLeft, 10) < scrollEnd) {
						$(id + '_last').onclick = function() {
							return false;
						};
						$(id + '_next').onclick = function() {
							return false;
						};
						e.style.marginLeft = parseInt(e.style.marginLeft, 10)
								+ Speed + 'px';
					} else {
						clearInterval(scrollShowPic);
						$(id + '_last').onclick = function() {
							scrollPic(e, 'Last', Width, Price, Speed);
							return false;
						};
						$(id + '_next').onclick = function() {
							scrollPic(e, 'Next', Width, Price, Speed);
							return false;
						};
					}
				}
			}
		}
		function scrollShowNav(e, Width, Price, Speed) {
			id = e.id;
			$(id + '_last').onclick = function() {
				scrollPic(e, 'Last', Width, Price, Speed);
				return false;
			};
			$(id + '_next').onclick = function() {
				scrollPic(e, 'Next', Width, Price, Speed);
				return false;
			};

		}
		function getUserTip(obj) {
			var tipBox = $('usertip_box');
			tipBox.childNodes[0].innerHTML = '<strong>' + obj.rel
					+ ':<\/strong>tag_____ ' + obj.rev + '...';

			var showLeft;
			if (obj.parentNode.offsetLeft > 730) {
				showLeft = $('showuser').offsetLeft + obj.parentNode.offsetLeft
						- 148;
				tipBox.childNodes[0].style.right = 0;
			} else {
				tipBox.childNodes[0].style.right = 'auto';
				showLeft = $('showuser').offsetLeft + obj.parentNode.offsetLeft;
			}
			tipBox.style.left = showLeft + 'px';

			var showTop;
			if (obj.className == 'uonline') {
				showTop = $('showuser').offsetTop + obj.parentNode.offsetTop
						- tipBox.childNodes[0].clientHeight;
			} else {
				showTop = $('showuser').offsetTop + obj.parentNode.offsetTop
						+ 48;
			}
			tipBox.style.top = showTop + 'px';

			tipBox.style.visibility = 'visible';
		}
	</script>
	<SCRIPT type=text/javascript>
		var $ = function(id) {
			return "string" == typeof id ? document.getElementById(id) : id;
		};

		var Extend = function(destination, source) {
			for ( var property in source) {
				destination[property] = source[property];
			}
			return destination;
		}

		var CurrentStyle = function(element) {
			return element.currentStyle
					|| document.defaultView.getComputedStyle(element, null);
		}

		var Bind = function(object, fun) {
			var args = Array.prototype.slice.call(arguments).slice(2);
			return function() {
				return fun.apply(object, args.concat(Array.prototype.slice
						.call(arguments)));
			}
		}

		var Tween = {
			Quart : {
				easeOut : function(t, b, c, d) {
					return -c * ((t = t / d - 1) * t * t * t - 1) + b;
				}
			},
			Back : {
				easeOut : function(t, b, c, d, s) {
					if (s == undefined)
						s = 1.70158;
					return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1)
							+ b;
				}
			},
			Bounce : {
				easeOut : function(t, b, c, d) {
					if ((t /= d) < (1 / 2.75)) {
						return c * (7.5625 * t * t) + b;
					} else if (t < (2 / 2.75)) {
						return c * (7.5625 * (t -= (1.5 / 2.75)) * t + .75) + b;
					} else if (t < (2.5 / 2.75)) {
						return c * (7.5625 * (t -= (2.25 / 2.75)) * t + .9375)
								+ b;
					} else {
						return c
								* (7.5625 * (t -= (2.625 / 2.75)) * t + .984375)
								+ b;
					}
				}
			}
		}

		//容器对象,滑动对象,切换数量
		var SlideTrans = function(container, slider, count, options) {
			this._slider = $(slider);
			this._container = $(container);//容器对象
			this._timer = null;//定时器
			this._count = Math.abs(count);//切换数量
			this._target = 0;//目标值
			this._t = this._b = this._c = 0;//tween参数

			this.Index = 0;//当前索引

			this.SetOptions(options);

			this.Auto = !!this.options.Auto;
			this.Duration = Math.abs(this.options.Duration);
			this.Time = Math.abs(this.options.Time);
			this.Pause = Math.abs(this.options.Pause);
			this.Tween = this.options.Tween;
			this.onStart = this.options.onStart;
			this.onFinish = this.options.onFinish;

			var bVertical = !!this.options.Vertical;
			this._css = bVertical ? "top" : "left";//方向

			//样式设置
			var p = CurrentStyle(this._container).position;
			p == "relative" || p == "absolute"
					|| (this._container.style.position = "relative");
			this._container.style.overflow = "hidden";
			this._slider.style.position = "absolute";

			this.Change = this.options.Change ? this.options.Change
					: this._slider[bVertical ? "offsetHeight" : "offsetWidth"]
							/ this._count;
		};
		SlideTrans.prototype = {
			//设置默认属性
			SetOptions : function(options) {
				this.options = {//默认值
					Vertical : true,//是否垂直方向（方向不能改）
					Auto : true,//是否自动
					Change : 0,//改变量
					Duration : 50,//滑动持续时间
					Time : 10,//滑动延时
					Pause : 4000,//停顿时间(Auto为true时有效)
					onStart : function() {
					},//开始转换时执行
					onFinish : function() {
					},//完成转换时执行
					Tween : Tween.Quart.easeOut
				//tween算子
				};
				Extend(this.options, options || {});
			},
			//开始切换
			Run : function(index) {
				//修正index
				index == undefined && (index = this.Index);
				index < 0 && (index = this._count - 1) || index >= this._count
						&& (index = 0);
				//设置参数
				this._target = -Math.abs(this.Change) * (this.Index = index);
				this._t = 0;
				this._b = parseInt(CurrentStyle(this._slider)[this.options.Vertical ? "top"
						: "left"]);
				this._c = this._target - this._b;

				this.onStart();
				this.Move();
			},
			//移动
			Move : function() {
				clearTimeout(this._timer);
				//未到达目标继续移动否则进行下一次滑动
				if (this._c && this._t < this.Duration) {
					this.MoveTo(Math.round(this.Tween(this._t++, this._b,
							this._c, this.Duration)));
					this._timer = setTimeout(Bind(this, this.Move), this.Time);
				} else {
					this.MoveTo(this._target);
					this.Auto
							&& (this._timer = setTimeout(Bind(this, this.Next),
									this.Pause));
				}
			},
			//移动到
			MoveTo : function(i) {
				this._slider.style[this._css] = i + "px";
			},
			//下一个
			Next : function() {
				this.Run(++this.Index);
			},
			//上一个
			Previous : function() {
				this.Run(--this.Index);
			},
			//停止
			Stop : function() {
				clearTimeout(this._timer);
				this.MoveTo(this._target);
			}
		};
	</SCRIPT>


	<div class="nbox">
		<div class="nbox_c">
			<DIV id=idContainer2 class=container>
				<TABLE id=idSlider2 border=0 cellSpacing=0 cellPadding=0>
					<TBODY>
						<TR>
							<!--{loop $focuslist $key $value}-->

							<TD class=td_f><A href="$value[link]" target="_blank"><IMG
									src="$value[url]"></A></TD>

							<!--{/loop}-->
						</TR>
					</TBODY>
				</TABLE>
				<UL id=idNum class=num></UL>
			</DIV>
		</div>
		<div class="nbox_s side_rbox" id="nlogin_box">

			<div class="reg_login">
				<div class="slogan">齐鲁沙龙网，山东人在北京</div>
				<div class="user_statistics">
					<em>1</em><em>3</em><em>0</em><em>9</em><span>人等你加入！</span>
				</div>
				<div class="btn have_login">
					<a href="cp.php?ac=invite"><em>邀请好友</em></a><span class="pipe">|</span><a
						href="cp.php?ac=blog">写日志</a><span class="pipe">|</span><a
						href="cp.php?ac=upload">传照片</a><span class="pipe">|</span><a
						href="cp.php?ac=userapp&op=menu">玩游戏</a>
				</div>
			</div>

		</div>
	</div>

	<div class="nbox">
		<div class="nbox_c">
			<h2 class="ntitle">
				<span class="r_option"><a href="space.php?do=blog&view=all">更多日志</a></span>
				热门日志 &raquo;
			</h2>
			<ul class="bloglist" id="bloglist">
				<!--{loop $bloglist $key $value}-->
				<li
					<!--{if $key%2==1}-->class="list_r"<!--{/if}-->>
					<h3>
						<a href="space.php?uid=$value[uid]&do=blog&id=$value[blogid]"
							target="_blank">$value[subject]</a>
					</h3>
					<div class="d_avatar avatar48">
						<a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}"
							target="_blank"> <!--{avatar($value[uid],small)}-->
						</a>
					</div>
					<p class="message">$value[message] ...</p>
					<p class="nhot">
						<a href="space.php?uid=$value[uid]&do=blog&id=$value[blogid]">$value[hot]
							人推荐</a>
					</p>
					<p class="gray">
						<a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a> 发表于
						<!--{date('m-d H:i',$value[dateline],1)}-->
					</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!-- <div class="nbox_s side_rbox side_rbox_w">
		<h2 class="ntitle"><span class="r_option"><a href="space.php?do=doing&view=all">更多记录</a></span> 记录 &raquo;</h2>
		<div class="side_rbox_c">
			<ul class="side_rbox_c doinglist">
				{loop $dolist $value}
				<li>
					<p>
						<a href="space.php?uid=$value[uid]&do=doing&doid=$value[doid]" target="_blank" class="gray r_option dot" style="margin:0;background-position-y: 0;">{date('H:i',$value[dateline],1)}</a>
						<a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}" class="s_avatar">{avatar($value[uid],small)}</a>
						<a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a>
					</p>
					<p class="message" title="$value[title]">$value[message]</p>
				</li>
			{/loop}
			</ul>
		</div>
	</div> -->

		<div class="nbox_s side_rbox side_rbox_w">
			<h2 class="ntitle">看看大家都在做什么 &raquo;</h2>
			<div class="side_rbox_c">
				<ul class="side_rbox_c doinglist" id="feedNow"
					style="overflow: hidden;">
					<!--{loop $feedlist $value}-->
					<li>
						<p>
							<a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}"
								class="s_avatar"> <!--{avatar($value[uid],middle)}-->
							</a> $value[title_template]
						</p>


					</li>
					<!--{/loop}-->
				</ul>
			</div>
			<script>
				startMarquee(510, 200, 0, 'feedNow');
			</script>
		</div>
	</div>


	<!-- 
<div class="nbox" id="photolist">
	<h2 class="ntitle">
		<a href="space.php?do=album&view=all" class="r_option">更多图片</a>
		图片 &raquo;
		</h2>
	<div id="p_control">
		<a href="javascript:;" id="spics_last">上一页</a>
		<a href="javascript:;" id="spics_next">下一页</a>
		<ul id="p_control_pages">
			<li>第一页</li>
			<li>第二页</li>
			<li>第三页</li>
			<li>第四页</li>
		</li>
	</div>
	<div id="spics_wrap">
	<ul id="spics" style="margin-left: 0;">
	{loop $piclist $key $value}
		<li class="spic_$key">
			<div class="spic_img"><a href="space.php?uid={$value[uid]}&do=album&picid={$value[picid]}" target="_blank"><strong>$value[hot]</strong><img src="$value[pic]" alt="$value[albumname]" /></a></div>
			<p><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></p>
			<p>{date('m-d H:i',$value[dateline],1)}</p>
		</li>
	{/loop}
	</ul>
	</div>
</div>
<script type="text/javascript">
scrollShowNav($('spics'), 903, 7, 43);
</script>
 -->
	<!-- 美女排行 -->
	<div class="nbox" id="photolist">
		<h2 class="ntitle">
			<a href="space.php?do=top&view=mm" class="r_option">更多美女</a> 人气美女
			&raquo;
		</h2>
		<div id="p_control">
			<a href="javascript:;" id="mm_last">上一页</a> <a href="javascript:;"
				id="mm_next">下一页</a>
			<ul id="p_control_pages">
				<li>第一页</li>
				<li>第二页</li>
				<li>第三页</li>
				<li>第四页</li>
				</li>
		</div>
		<div id="spics_wrap">
			<ul id="mm" style="margin-left: 0;">
				<!--{loop $mmlist $key $value}-->
				<li class="spic_$key">
					<div class="spic_img">
						<a href="space.php?uid=$value[uid]" target="_blank"> <!--{avatar($value[uid],middle)}-->
						</a>
					</div>

					<p>
						<a href="space.php?uid=$value[uid]">{$value[username]}</a>
					</p>
					<p>
						<!--{date('m-d H:i',$value[dateline],1)}-->
					</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>

	<!-- 帅哥排行 -->
	<div class="nbox" id="photolist">
		<h2 class="ntitle">
			<a href="space.php?do=top&view=gg" class="r_option">更多帅哥</a> 人气帅哥
			&raquo;
		</h2>
		<div id="p_control">
			<a href="javascript:;" id="gg_last">上一页</a> <a href="javascript:;"
				id="gg_next">下一页</a>
			<ul id="p_control_pages">
				<li>第一页</li>
				<li>第二页</li>
				<li>第三页</li>
				<li>第四页</li>
				</li>
		</div>
		<div id="spics_wrap">
			<ul id="gg" style="margin-left: 0;">
				<!--{loop $gglist $key $value}-->
				<li class="spic_$key">
					<div class="spic_img">
						<a href="space.php?uid=$value[uid]" target="_blank"> <!--{avatar($value[uid],middle)}-->
						</a>
					</div>

					<p>
						<a href="space.php?uid=$value[uid]">{$value[username]}</a>
					</p>
					<p>
						<!--{date('m-d H:i',$value[dateline],1)}-->
					</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>

	<div id="searchbar" class="nbox s_clear">
		<div class="floatleft">
			<form method="get" action="cp.php">
				<input name="searchkey" value="" size="15" class="t_input"
					type="text" style="padding: 5px;"> <input
					name="searchsubmit" value="找人" class="submit" type="submit">
				&nbsp; 查找：<a href="cp.php?ac=friend&op=search&view=sex"
					target="_blank">男女朋友</a><span class="pipe">|</span> <a
					href="cp.php?ac=friend&op=search&view=reside" target="_blank">同城</a><span
					class="pipe">|</span> <a
					href="cp.php?ac=friend&op=search&view=birth" target="_blank">老乡</a><span
					class="pipe">|</span> <a
					href="cp.php?ac=friend&op=search&view=birthyear" target="_blank">同年同月同日生</a><span
					class="pipe">|</span> <a href="cp.php?ac=friend&op=search&view=edu"
					target="_blank">同学</a><span class="pipe">|</span> <a
					href="cp.php?ac=friend&op=search&view=work" target="_blank">同事</a><span
					class="pipe">|</span> <a href="space.php?do=top&view=online"
					target="_blank">在线会员($olcount)</a> <input type="hidden"
					name="searchmode" value="1" /> <input type="hidden" name="ac"
					value="friend" /> <input type="hidden" name="op" value="search" />
			</form>
		</div>
		<div class="floatright">
			<form method="get" action="space.php">
				<input name="searchkey" value="" size="15" class="t_input"
					type="text" style="padding: 5px;"> <select name="do">
					<option value="blog">日志</option>
					<option value="album">相册</option>
					<option value="thread">话题</option>
					<option value="poll">投票</option>
					<option value="event">活动</option>
				</select> <input name="searchsubmit" value="搜索" class="submit" type="submit">
				<input type="hidden" name="view" value="all" /> <input
					type="hidden" name="orderby" value="dateline" />
			</form>
		</div>
	</div>

	<div id="showuser" class="nbox">
		<div id="user_recomm">
			<h2>站长推荐</h2>
			<!--{loop $star $value}-->
			<div class="s_avatar">
				<a href="space.php?uid=$value[uid]" target="_blank"> <!--{avatar($value[uid],middle)}-->
				</a>
			</div>
			<div class="s_cnts">
				<h3>
					<a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}">{$_SN[$value[uid]]}</a>
				</h3>
				<p>访问: $value[viewnum]</p>
				<p>积分: $value[credit]</p>
				<hr />
				<p>好友: $value[friendnum]</p>
				<p>
					更新:
					<!--{date('H:i',$value[updatetime],1)}-->
				</p>
			</div>
			<!--{/loop}-->
		</div>
		<div id="user_wall"
			onmouseout="javascript:$('usertip_box').style.visibility = 'hidden';">
			<div id="user_pay" class="s_clear">
				<h2>
					<a href="space.php?do=top">竞价排名</a>
				</h2>
				<ul>
					<!--{loop $showlist $value}-->
					<li><a href="space.php?uid=$value[uid]" target="_blank"
						rel="{$_SN[$value[uid]]}" rev="$value[note]"
						onmouseover="getUserTip(this)"> <!--{avatar($value[uid],small)}-->
					</a></li>
					<!--{/loop}-->
				</ul>
				<p>
					<a href="space.php?do=top">我要上榜</a>
				</p>
			</div>
			<div id="user_online" class="s_clear">
				<h2>
					<a href="space.php?do=top&view=online">在线会员</a>
				</h2>
				<ul>
					<!--{loop $onlinelist $value}-->
					<li><a href="space.php?uid=$value[uid]" target="_blank"
						rel="{$_SN[$value[uid]]}" rev="$value[note]" class="uonline"
						onmouseover="getUserTip(this)"> <!--{avatar($value[uid],small)}-->
					</a></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	<div id="usertip_box">
		<div></div>
	</div>

	<div class="nbox">
		<div class="nbox_c">
			<h2 class="ntitle">
				<span class="r_option"><a href="space.php?do=thread&view=all">更多话题</a></span>话题
				&raquo;
			</h2>
			<div class="tlist" id="tlist">
				<table cellpadding="0" cellspacing="1">
					<tbody>
						<!--{loop $threadlist $key $value}-->
						<tr
							<!--{if $key%2==1}-->
							class="color_row"
							<!--{/if}-->
							>
							<td class="ttopic"><div class="ttop">
									<div>
										<span>$value[hot]</span>
									</div>
								</div> <a href="space.php?uid=$value[uid]&do=thread&id=$value[tid]"
								target="_blank">$value[subject]</a></td>
							<td class="tuser"><a href="space.php?uid=$value[uid]"
								target="_blank"> <!--{avatar($value[uid],small)}-->
							</a> <a href="space.php?uid=$value[uid]" target="_blank">{$_SN[$value[uid]]}</a></td>
							<td class="tgp"><a
								href="space.php?do=mtag&tagid=$value[tagid]">$value[tagname]</a></td>
						</tr>
						<!--{/loop}-->
					</tbody>
				</table>
			</div>
		</div>
		<div id="npoll" class="nbox_s side_rbox side_rbox_w">
			<div class="side_rbox_c">
				<h2 class="ntitle">
					<span class="r_option"><a href="space.php?do=poll">更多投票</a></span>投票
					&raquo;
				</h2>
				<ul>
					<!--{loop $polllist $key $value}-->
					<li class="poll_$key"><a
						href="space.php?uid=$value[uid]&do=poll&pid=$value[pid]"
						target="_blank">$value[subject]</a> <!--{if $key == 0}-->
						<p>
							<a href="">已有 $value[voternum] 位会员投票</a>
						</p> <!--{/if}--></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>

	<!--{if $myappcount}-->
	<div class="nbox">
		<div class="nbox_c" style="border: none;">
			<ul class="applist">
				<!--{loop $myapplist $value}-->
				<li>
					<p class="aimg">
						<a href="userapp.php?id=$value[appid]" target="_blank"><img
							src="http://appicon.manyou.com/logos/$value[appid]"
							alt="$value[appname]" /></a>
					</p>
					<p>
						<a href="userapp.php?id=$value[appid]" target="_blank">$value[appname]</a>
					</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<div class="susb">
			<div class="ye_r_t">
				<div class="ye_l_t">
					<div class="ye_r_b">
						<div class="ye_l_b">
							<div class="appmo">
								<p>
									共有 <span>$myappcount</span> 个游戏
								</p>
								<p class="appmobutton">
									<a href="cp.php?ac=userapp&my_suffix=%2Fapp%2Flist">查看更多应用</a>
								</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--{/if}-->

	<div class="nbox">
		<div class="nbox_c">
			<h2 class="ntitle">
				<span class="r_option"><a
					href="space.php?do=event&view=recommend">更多活动</a></span> 活动 &raquo;
				<!--{loop $_SGLOBAL[eventclass] $value}-->
				&nbsp; <a
					href="space.php?do=event&view=all&type=going&classid=$value[classid]">$value[classname]</a>
				</li>
				<!--{/loop}-->
			</h2>
			<ul class="elist">
				<!--{loop $eventlist $value}-->
				<li>
					<h3>
						<a href="space.php?do=event&id=$value[eventid]" target="_blank">$value[title]</a>
					</h3>
					<p class="eimage">
						<a href="space.php?do=event&id=$value[eventid]" target="_blank"><img
							src="$value[pic]" alt="" /></a>
					</p>
					<p>
						<span class="gray">时间:</span>
						<!--{date('n-j H:i',$value[starttime])}-->
						-
						<!--{date('n-j H:i',$value[endtime])}-->
					</p>
					<p>
						<span class="gray">地点:</span> $value[province] $value[city]
						$value[location]
					</p>
					<p>
						<span class="gray">发起:</span> <a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a>
					</p>
					<p class="egz">
						$value[membernum] 人参加<span class="pipe">|</span>$value[follownum]
						人关注
					</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<div id="nshare" class="nbox_s side_rbox side_rbox_w">
			<h2 class="ntitle">
				<span class="r_option"><a href="space.php?do=share&view=all">更多分享</a></span>分享
				&raquo;
			</h2>
			<div class="side_rbox_c">
				<ul>
					<!--{loop $sharelist $value}-->
					<li><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a>
						<em><a href="space.php?uid=$value[uid]&do=share&view=me">$value[title_template]</a></em></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>

	<div class="footerbar">
		<div class="fbtop"></div>
		<div class="nbox_c">
			<div class="foobox">
				<div class="fbox">
					<h2 class="ntitle">常用</h2>
					<ul>
						<li><a href="space.php?do=doing">记录</a></li>
						<li><a href="space.php?do=blog">日志</a></li>
						<li><a href="space.php?do=album">相册</a></li>
						<li><a href="space.php?do=mtag">圈子</a></li>
						<li><a href="space.php?do=poll">投票</a></li>
						<li><a href="space.php?do=event">活动</a></li>
						<li><a href="space.php?do=share">分享</a></li>
					</ul>
				</div>
				<div class="fbox">
					<h2 class="ntitle">应用</h2>
					<ul>
						<!--{if $myappcount}-->
						<!--{loop $myapplist $value}-->
						<li><a href="userapp.php?id=$value[appid]">$value[appname]</a></li>
						<!--{/loop}-->
						<li><a href="cp.php?ac=userapp&my_suffix=%2Fapp%2Flist"
							class="alink">查看全部 $myappcount 个应用</a></li>
						<!--{else}-->
						<li><a href="#">还没有应用</a></li>
						<!--{/if}-->
					</ul>
				</div>
				<div class="fbox">
					<h2 class="ntitle">发现</h2>
					<ul>
						<li><a href="space.php?do=blog&view=all">大家发表的日志</a></li>
						<li><a href="space.php?do=album&view=all">大家上传的图片</a></li>
						<li><a href="space.php?do=thread&view=all">大家的话题</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="nbox_s">
			<h2 class="ntitle">邀请</h2>
			<ul>
				<li><a href="cp.php?ac=invite">邀请好友加入，获赠积分奖励</a></li>
				<li><a href="cp.php?ac=invite">QQ 好友</a></li>
				<li><a href="cp.php?ac=invite">163 邮箱</a></li>
				<li><a href="cp.php?ac=invite">新浪邮箱</a></li>
				<li><a href="cp.php?ac=invite">搜狐邮箱</a></li>
				<li><a href="cp.php?ac=invite">Google Gmail</a></li>
				<li><a href="cp.php?ac=invite">MSN 联系人</a></li>
				<li><a href="cp.php?ac=invite">Yahoo! 邮箱</a></li>
				<li><a href="cp.php?ac=invite" class="alink">更多联系人……</a></li>
			</ul>
		</div>
		<div class="fbbottom"></div>
	</div>

</div>

<SCRIPT>
	var forEach = function(array, callback, thisObject) {
		if (array.forEach) {
			array.forEach(callback, thisObject);
		} else {
			for ( var i = 0, len = array.length; i < len; i++) {
				callback.call(thisObject, array[i], i, array);
			}
		}
	}

	var st = new SlideTrans("idContainer2", "idSlider2", 5, {
		Vertical : false
	});

	var nums = [];
	//插入数字
	for ( var i = 0, n = st._count - 1; i <= n;) {
		(nums[i] = $("idNum").appendChild(document.createElement("li"))).innerHTML = ++i;
	}

	forEach(nums, function(o, i) {
		o.onmouseover = function() {
			o.className = "on";
			st.Auto = false;
			st.Run(i);
		}
		o.onmouseout = function() {
			o.className = "";
			st.Auto = true;
			st.Run();
		}
	})

	//设置按钮样式
	st.onStart = function() {
		forEach(nums, function(o, i) {
			o.className = st.Index == i ? "on" : "";
		})
	}
	st.Run();
</SCRIPT>

<script type="text/javascript">
 	function $(v) {
		return document.getElementById(v);
	} 
	//美女排行滚动
	var scrollPic_04 = new ScrollPic();
	scrollPic_04.scrollContId = "mm"; //内容容器ID
	scrollPic_04.arrLeftId = "mm_last";//左箭头ID
	scrollPic_04.arrRightId = "mm_next"; //右箭头ID
	scrollPic_04.frameWidth = 904;//显示框宽度
	scrollPic_04.pageWidth = 130; //翻页宽度
	scrollPic_04.speed = 20; //从上一幅图到下一幅图的移动速度(单位毫秒，越小越快)
	scrollPic_04.space = 20; //每次移动像素(单位px，越大越快)
	scrollPic_04.autoPlay = true; //自动播放
	scrollPic_04.autoPlayTime = 2; //自动播放间隔时间(秒)
	scrollPic_04.initialize(); //初始化 
	//帅哥排行滚动
	var scrollPic_04 = new ScrollPic();
	scrollPic_04.scrollContId = "gg"; //内容容器ID
	scrollPic_04.arrLeftId = "gg_last";//左箭头ID
	scrollPic_04.arrRightId = "gg_next"; //右箭头ID
	scrollPic_04.frameWidth = 904;//显示框宽度
	scrollPic_04.pageWidth = 130; //翻页宽度
	scrollPic_04.speed = 20; //从上一幅图到下一幅图的移动速度(单位毫秒，越小越快)
	scrollPic_04.space = 20; //每次移动像素(单位px，越大越快)
	scrollPic_04.autoPlay = true; //自动播放
	scrollPic_04.autoPlayTime = 2; //自动播放间隔时间(秒)
	scrollPic_04.initialize(); //初始化
</script>
<!-- 日志垂直滚动 -->
<script type="text/javascript">
jQuery(function(){
	jQuery("#bloglist").slider({sliderTime:3000,coincide:false,itemFlag: "li"});
	
	});
</script>
<!--{template footer}-->